﻿using BCDto.OA.ApplyOrder;
using BCDto.OA.Workflow.WorkflowActivityInstanceRecord;
using BCDto.OA.Workflow.WorkflowActivityStepInstance;
using System.Collections.Generic;

namespace BCDto.OA.TeamWorks.TaskRecord
{
    /// <summary>
    /// 任务单详情信
    /// </summary>
    public class TaskRecordViewDto : TaskRecordDto
    {
        /// <summary>
        /// OA申请单
        /// </summary>
        public ApplyOrderDto OAApplyOrder { get; set; }

        ///// <summary>
        ///// 审批人列表
        ///// </summary>
        //public List<TaskRecordApproverViewDto> ApproverList { get; set; } = new List<TaskRecordApproverViewDto>();

        /// <summary>
        /// 销售合同编号
        /// </summary>
        public string VehicleSaleContractNo { get; set; }

        /// <summary>
        /// 采购合同编号
        /// </summary>
        public string VehiclePurchaseContractNo { get; set; }
       
        /// <summary>
        /// 工作流活动实例记录
        /// </summary>
        public WorkflowActivityInstanceRecordDto WorkflowActivityInstanceRecord { get; set; }

        /// <summary>
        /// 工作流活动步骤实例
        /// </summary>
        public IEnumerable<WorkflowActivityStepInstanceDto> StepInstanceList { get; set; }

        /// <summary>
        /// 任务参与者记录
        /// </summary>
        public IEnumerable<TaskReceiverRecordDto> TaskReceiverRecordDtos { get; set; }
    }
}
